//
//  ViewController.m
//  XcodeIntegrationTest_OC
//
//  Created by 应明顺 on 11/15/18.
//  Copyright © 2018 JackYing. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    
    NSInteger intger = 2;
    
    switch (intger) {
        case 1:
            NSLog(@"intger is 1");
            break;
        case 2:
            NSLog(@"intger is 2");
            break;
        case 3:
            NSLog(@"intger is 3");
            break;
        case 4:
            NSLog(@"intger is 4");
            break;
        case 5:
            NSLog(@"intger is 5");
            break;
        case 6:
            NSLog(@"intger is 6");
            break;
            
        default:
            NSLog(@"intger is other");
            break;
    }
    
    NSMutableArray *arrAddedNil = [NSMutableArray arrayWithCapacity:2];
    NSString *unNilStr = @"";
    id null = [NSNull null];
    [arrAddedNil addObject:unNilStr];
    [arrAddedNil addObject:null];
    
    
//    0x10000a5a8 <+56>:  orr    w8, wzr, #0x2
//    0x10000a5ac <+60>:  mov    x0, x8
//    0x10000a5b0 <+64>:  stur   x0, [x29, #-0x28]
//    0x10000a5b4 <+68>:  ldur   x0, [x29, #-0x28]
//    0x10000a5b8 <+72>:  subs   x0, x0, #0x1              ; =0x1
//    0x10000a5bc <+76>:  mov    x1, x0
//    0x10000a5c0 <+80>:  subs   x0, x0, #0x5              ; =0x5
//    0x10000a5c4 <+84>:  str    x1, [sp, #0x18]
//    0x10000a5c8 <+88>:  str    x0, [sp, #0x10]
//    0x10000a5cc <+92>:  b.hi   0x10000a648               ; <+216> at ViewController.m:45
//    0x10000a5d0 <+96>:  adrp   x8, 0
//    0x10000a5d4 <+100>: add    x8, x8, #0x748            ; =0x748
//    0x10000a5d8 <+104>: ldr    x9, [sp, #0x18]
//    0x10000a5dc <+108>: ldrsw  x10, [x8, x9, lsl #2]
//    0x10000a5e0 <+112>: add    x8, x10, x8
//    0x10000a5e4 <+116>: br     x8
//    0x10000a5e8 <+120>: adrp   x0, 2
//    0x10000a5ec <+124>: add    x0, x0, #0x68             ; =0x68
//    0x10000a5f0 <+128>: bl     0x10000aac4               ; symbol stub for: NSLog
//    0x10000a5f4 <+132>: b      0x10000a654               ; <+228> at ViewController.m
//    0x10000a5f8 <+136>: adrp   x0, 2
//    0x10000a5fc <+140>: add    x0, x0, #0x88             ; =0x88
//    0x10000a600 <+144>: bl     0x10000aac4               ; symbol stub for: NSLog
//    0x10000a604 <+148>: b      0x10000a654               ; <+228> at ViewController.m
//    0x10000a608 <+152>: adrp   x0, 2
//    0x10000a60c <+156>: add    x0, x0, #0xa8             ; =0xa8
//    0x10000a610 <+160>: bl     0x10000aac4               ; symbol stub for: NSLog
//    0x10000a614 <+164>: b      0x10000a654               ; <+228> at ViewController.m
//    0x10000a618 <+168>: adrp   x0, 2
//    0x10000a61c <+172>: add    x0, x0, #0xc8             ; =0xc8
//    0x10000a620 <+176>: bl     0x10000aac4               ; symbol stub for: NSLog
//    0x10000a624 <+180>: b      0x10000a654               ; <+228> at ViewController.m
//    0x10000a628 <+184>: adrp   x0, 2
//    0x10000a62c <+188>: add    x0, x0, #0xe8             ; =0xe8
//    0x10000a630 <+192>: bl     0x10000aac4               ; symbol stub for: NSLog
//    0x10000a634 <+196>: b      0x10000a654               ; <+228> at ViewController.m
//    0x10000a638 <+200>: adrp   x0, 2
//    0x10000a63c <+204>: add    x0, x0, #0x108            ; =0x108
//    0x10000a640 <+208>: bl     0x10000aac4               ; symbol stub for: NSLog
//    0x10000a644 <+212>: b      0x10000a654               ; <+228> at ViewController.m
//    0x10000a648 <+216>: adrp   x0, 2
//    0x10000a64c <+220>: add    x0, x0, #0x128            ; =0x128
//    0x10000a650 <+224>: bl     0x10000aac4               ; symbol stub for: NSLog
//    0x10000a654 <+228>: orr    x2, xzr, #0x2

    
}


+ (AddedNumber)addNumber:(NSInteger)additionalNumber {
    return ^(NSInteger number) {
        return number + additionalNumber;
    };
}


@end
